package com.anxin.act.busFlow.entity;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.anxin.framework.aspectj.lang.annotation.Excel;
import com.anxin.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 业务节点进展对象 wf_bus_node_evolve
 *
 * @author jbs
 * @date 2020-04-16
 */
//@ApiModel(description = "业务节点进展")
public class WfBusNodeEvolve extends BaseEntity<WfBusNodeEvolve>{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    //@ApiModelProperty(value = "主键",position=1)
    private String id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    //@ApiModelProperty(value = "业务类型",position=2)
    private String busType;

    /** 业务ID */
    @Excel(name = "业务ID")
    //@ApiModelProperty(value = "业务ID",position=3)
    private String busId;

    //@ApiModelProperty(value = "轮次ID",position=3)
    private String roundId;

    /** 节点ID */
    @Excel(name = "节点ID")
    //@ApiModelProperty(value = "节点ID",position=4)
    private String nodeId;

    //@ApiModelProperty(value = "是否为最新节点  Y是  N否",position=5)
    private String latest;

    /** 进入此阶段的时间 */
    @Excel(name = "进入此阶段的时间", width = 30, dateFormat = "yyyy-MM-dd")
    //@ApiModelProperty(value = "进入此阶段的时间",position=6)
    private Date evolveTime;

    /** 进入此阶段的时间 */
    @Excel(name = "离开此节点的时间", width = 30, dateFormat = "yyyy-MM-dd")
    //@ApiModelProperty(value = "离开此节点的时间",position=6)
    private Date leaveTime;

    //@ApiModelProperty(value = "滞留时间",position=6)
    private Long strandedTime;

    public void setId(String id){
        this.id = id;
    }

    public String getId(){
        return id;
    }
    public void setBusType(String busType){
        this.busType = busType;
    }

    public String getBusType(){
        return busType;
    }

    public String getBusId() {
        return busId;
    }

    public void setBusId(String busId) {
        this.busId = busId;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }


    public void setEvolveTime(Date evolveTime){
        this.evolveTime = evolveTime;
    }

    public Date getEvolveTime(){
        return evolveTime;
    }

    public String getLatest() {
        return latest;
    }

    public void setLatest(String latest) {
        this.latest = latest;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Long getStrandedTime() {
        return strandedTime;
    }

    public void setStrandedTime(Long strandedTime) {
        this.strandedTime = strandedTime;
    }

    public String getRoundId() {
        return roundId;
    }

    public void setRoundId(String roundId) {
        this.roundId = roundId;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busType", getBusType())
            .append("busId", getBusId())
            .append("nodeId", getNodeId())
            .append("evolveTime", getEvolveTime())
            .toString();
    }
}
